﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Simple.aspx.cs" Inherits="UpdateApp.Simple" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <title>文件上传</title>
    <link href="CSS/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet" />
    <style>
        .font {
            margin: 5px 10px;
            font-size: 2.5rem;
        }
    </style>
</head>

<body>
    <form id="aspnetForm" runat="server" enctype="multipart/form-data">        
        <div class="container-fluid wince">
            <div class="row font"><a href="SimpleFiles.aspx">文件：</a></div>
            <div class="row" style="display: <%=display %>">
                <%--file需要加上runat="server" 否则后台得不到--%>
                <input type="file" runat="server" class="btn btn-default font" style="width: 201px" />
                <button type="submit" class="btn btn-default font" style="width: 100px; margin-bottom: 6px">上传</button>
                <a href="SimpleFiles.aspx?date=<%=date %>" target="_blank"><div class="btn btn-default font">下载</div></a>
            </div>
        </div>
    </form>
</body>
</html>
